package com.oragraph.data;

import com.oragraph.data.instance.Instance;
import com.oragraph.trials.Trial1Edge;
import com.oragraph.trials.Trial1Node;

import edu.uci.ics.jung.graph.DelegateForest;
import edu.uci.ics.jung.graph.DirectedSparseMultigraph;
import edu.uci.ics.jung.graph.Forest;
import edu.uci.ics.jung.graph.Graph;

public class Tab {
	
	private String _name;
	private Instance _root;
	
	// TODO: GRAPH IMPL
	public Forest<Node,Edge> graph;
	
	public Tab(String name, Instance root) {
		_name=name;
		_root=root;
		
		// TODO: GRAPH IMPL
		graph=new DelegateForest<Node,Edge>();
		graph.addVertex(root);
	}
	
	public String getName() {
		return _name;
	}
	
	public Instance getRoot() {
		return _root;
	}

}
